package com.jiyun.feign;

import com.jiyun.model.User;
import com.jiyun.vo.ResultResopnse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


@FeignClient("day05User")
public interface UserFeign {
    @RequestMapping("user/login")
    public ResultResopnse login(@RequestBody User user);
}
